﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using model;
using Bll;
using System.Text;

public partial class Eintro : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string ename = Request.Params["ename"].ToString();
            string pic = Request.Params["pic"].ToString();
            StringBuilder pp = new StringBuilder();
            pp.Append("Pict/");
            pp.Append(pic);
            EnterpriseBll bll=new EnterpriseBll ();
            Enterprise etrprs = bll.GetInfo(ename);
           // string path = "src='Pict\'"+pic;
            img.InnerHtml = "<img src="+pp+" width='400px' height='300px' />";
            Label1.Text = etrprs.Eintro;
        }
    }
}